hvm: Initialize vlapic->timer_last_update.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 5 Dec 2007 14:01:39 +0000 (14:01 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 5 Dec 2007 14:01:39 +0000 (14:01 +0000)
commitebd0979ead4c5d23073dc319b22a9f2bee6e23a4
tree4440bb417ddd5d662860a1cdd9615fc92d084589
parentea4f3a408e5e9993a9292eed301abd0b41dab74d
hvm: Initialize vlapic->timer_last_update.

Without the fix, before the first vlapic timer interrupt is injected,
the "vlapic->timer_last_update" in vlapic_get_tmcct()  is always 0,
causing a wrong value of counter_passed.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
xen/arch/x86/hvm/vlapic.c